package com.itheima.service;

import com.itheima.mapper.UserMapper;
import com.itheima.pojo.User;

/**
 * @author WYX
 * @create 2021-08-08-11:46
 */

public class UserServiceImpl implements UserService{

    private UserMapper userMapper;
    public int addUser(User user) {
        return userMapper.addUser(user);
    }

    public void setUserMapper(UserMapper userMapper) {
        this.userMapper=userMapper;
    }
}
